<?php
/**
 * Joomla! 2.5 - Erweiterungen programmieren
 *
 * HTML-Formular zum Anlegen und Bearbeiten eines Datensatzes.
 *
 * @package    MyThings
 * @subpackage Backend
 * @author     chmst.de, webmechanic.biz
 * @license    GNU/GPL
 */
defined('_JEXEC') or die;

// lädt JavaScript-Helfer für Tooltips, Eingabeprüfung
// und zum Aufrechterhalten der Session bei Untätigkeit,
// um Datenverluste während dem Bearbeiten zu vermeiden.
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');
JHtml::_('behavior.keepalive');
?>
<form action="<?php echo JRoute::_('index.php?option=com_ffmembers&id='.(int) $this->item->id); ?>"
	method="post" name="adminForm" id="mything-form" class="form-validate">

    <div class="width-50 fltlft">
	<fieldset class="adminform">
		<legend><?php echo JText::_('COM_FFMEMBERS_DATA_SET'); ?></legend>
		<ul class="adminformlist">
			<li>
			<?php echo $this->form->getLabel('first_name'); ?>
			<?php echo $this->form->getInput('first_name'); ?>
			</li>
			<li>
			<?php echo $this->form->getLabel('last_name'); ?>
			<?php echo $this->form->getInput('last_name'); ?>
			</li>
                        <li>
			<?php echo $this->form->getLabel('street'); ?>
			<?php echo $this->form->getInput('street'); ?>
			</li>
			<li>
			<?php echo $this->form->getLabel('plz'); ?>
			<?php echo $this->form->getInput('plz'); ?>
			</li>
			<li>
			<?php echo $this->form->getLabel('place'); ?>
			<?php echo $this->form->getInput('place'); ?>
			</li>
			<li>
			<?php echo $this->form->getLabel('phone'); ?>
			<?php echo $this->form->getInput('phone'); ?>
			</li>
			<li>
			<?php echo $this->form->getLabel('phone_mobile'); ?>
			<?php echo $this->form->getInput('phone_mobile'); ?>
			</li>
			<li>
			<?php echo $this->form->getLabel('email'); ?>
			<?php echo $this->form->getInput('email'); ?>
			</li>                        
			<li>
			<?php echo $this->form->getLabel('email2'); ?>
			<?php echo $this->form->getInput('email2'); ?>
			</li>
			<li>
			<?php echo $this->form->getLabel('homepage'); ?>
			<?php echo $this->form->getInput('homepage'); ?>
			</li>                        
                        <li>
			<?php echo $this->form->getLabel('description'); ?>
			<div class="clr"></div>
			<?php echo $this->form->getInput('description'); ?>
			</li>
		</ul>
	</fieldset>
    </div>
    <div class="width-50 fltrt">
        <?php echo JHtml::_('sliders.start', 'entry_date'); ?>
        <?php echo JHtml::_('sliders.panel', JText::_('COM_FFMEMBERS_DATUM_DATA'), 'lent-details');?>
    
	<fieldset class="adminform">
		<ul class="adminformlist">
			<li>
			<?php echo $this->form->getLabel('entry_date'); ?>
			<?php echo $this->form->getInput('entry_date'); ?>
			</li>
			<li>
			<?php echo $this->form->getLabel('birth_date'); ?>
			<?php echo $this->form->getInput('birth_date'); ?>
			</li>
		</ul>
	</fieldset>
        <?php echo JHtml::_('sliders.end'); ?>
	<input type="hidden" name="task" value="" />
	<?php echo JHtml::_('form.token'); ?>

    </div>
</form>
